package com.hd.appcommon.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hd.appcommon.entity.Door;
import com.hd.appcommon.entity.DoorVo;
import com.hd.appcommon.entity.Room;
import com.hd.appcommon.entity.RoomMessageUpload;

import javax.management.Query;
import java.util.List;

/**
 * @projectName:    entrance_guard 
 * @package:        com.hd.appcommon.service
 * @className:      RoomService
 * @author:     otto
 * @description:  
 * @date:    2023/7/24 10:29
 * @version:    1.0
 */ 

public interface RoomService extends IService<Room> {
//    public IPage<Room> getPages(QueryWrapper<Room> queryWrapper);
    List<DoorVo> getDoorList(String roomId);

    void addDoorId(Integer roomId, Integer doorId);

    String getDoorIdListByDoorId(String doorId);

    void updateUserIdListByDoorId(String doorId,String newDoorIdList);

    Boolean upLoadUserMessage(RoomMessageUpload roomMessageUpload);
}
